package ms.platform.system.dao;

import ms.platform.system.model.Manufacturer;

import java.util.List;
import java.util.Map;

public interface ManufacturerDAO {

    List<Manufacturer> getAllManufacturer(Map<String, Object> map);

    /**
     * 添加
     */
    void insertManufacturer(Manufacturer manufacturer);

    Manufacturer getManufacturer(Integer id);

    Manufacturer getManufacturerName(String orgName);

    void updateManufacturer(Manufacturer manufacturer);

    void deleteManufacturer(Integer id);

    List<Manufacturer> searchManufacturer(Manufacturer manufacturer);

    Integer queryManufacturerCount(Map<String, Object> map);
}
